package com.tuocent.dagv2.service;

import com.tuocent.dagv2.common.AjaxResult;
import com.tuocent.dagv2.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.ui.Model;

import java.util.Map;

/**
 * <p>
 * 数据词典 服务类
 * </p>
 *
 * @author Vincent
 * @since 2025-07-30
 */
public interface IDictionaryService extends IService<Dictionary> {

    AjaxResult getDictionaryData(String classId);

    String setDictData(Model model, String id, String classId);

    AjaxResult saveDataDict(Dictionary data);

    AjaxResult delDataDict(Map<String, String> data);
}
